﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Model
{
    public class BookInfo
    {
        public BookInfo(string isbn, string bookName, string bookAuthor, string bookDesc, string bookPicture, double bookPrice, int bookSoldNum, int bookRemainNum, DateTime bookShelfTime, DateTime bookReleaseTime)
        {
            this._ISBN = isbn;
            this._bookName = bookName;
            this._bookAuthor = bookAuthor;
            this._bookDesc = bookDesc;
            this._bookPicture = bookPicture;
            this._bookPrice = bookPrice;
            this._bookSoldNum = bookSoldNum;
            this._bookRemainNum = bookRemainNum;
            this._bookShelfTime = bookShelfTime;
            this._bookReleaseTime = bookReleaseTime;
        }

        private string _ISBN;
        public string ISBN
        {
            get { return _ISBN; }
            set { _ISBN = value; }
        }

        private string _bookName;
        public string BookName
        {
            get { return _bookName; }
            set { _bookName = value; }
        }

        private string _bookAuthor;
        public string BookAuthor
        {
            get { return _bookAuthor; }
            set { _bookAuthor = value; }
        }

        private string _bookDesc;
        public string BookDesc
        {
            get { return _bookDesc; }
            set { _bookDesc = value; }
        }

        private string _bookPicture;
        public string BookPicture
        {
            get { return _bookPicture; }
            set { _bookPicture = value; }
        }

        private double _bookPrice;
        public double BookPrice
        {
            get { return _bookPrice; }
            set { _bookPrice = value; }
        }

        private int _bookSoldNum;
        public int BookSoldNum
        {
            get { return _bookSoldNum; }
            set { _bookSoldNum = value; }
        }

        private int _bookRemainNum;
        public int BookRemainNum
        {
            get { return _bookRemainNum; }
            set { _bookRemainNum = value; }
        }

        private DateTime _bookShelfTime;
        public DateTime BookShelfTime
        {
            get { return _bookShelfTime; }
            set { _bookShelfTime = value; }
        }

        private DateTime _bookReleaseTime;
        public DateTime BookReleaseTime
        {
            get { return _bookReleaseTime; }
            set { _bookReleaseTime = value; }
        }
    }
}
